//
//  USOrderInfoModel.h
//  usale0001
//
//  Created by mini on 16/1/8.
//  Copyright © 2016年 YU. All rights reserved.
//

#import <Foundation/Foundation.h>

@class USOrderParmModel;
@interface USOrderInfoModel : NSObject

@property (nonatomic, copy) NSString *resultInfo;

@property (nonatomic, copy) NSString *serviceResult;

@property (nonatomic, copy) NSString *userToken;

@property (nonatomic, strong) USOrderParmModel *resultParm;

@end

@interface USOrderParmModel : NSObject

@property (nonatomic, strong) NSArray *orderInfoViewList;

@property (nonatomic, copy) NSString *totalCount;

@property (nonatomic, copy) NSString *startTime;

@end

@interface USOrderOrderInfoViewListModel : NSObject


/**
 * 虚拟好友标记，对方是不是虚拟好友
 */
@property (nonatomic, assign) BOOL isvirtual;

/**
 *  剩余出货天数
 */
@property (nonatomic, copy) NSString *diffDay;

/**
 *  用户头像
 */
@property (nonatomic, copy) NSString *avatar;

/**
 *  币种
 */
@property (nonatomic, copy) NSString *currency;

/**
 *  编辑时间
 */
@property (nonatomic, copy) NSString *editeTime;
/**
 *  入/出库,0-出库，1-入库.
 */
@property (nonatomic, copy) NSString *inoroutstatus;
/**
 *  用户昵称
 */
@property (nonatomic, copy) NSString *nickname;

/**
 *  订单id
 */
@property (nonatomic, copy) NSString *orderid;

/**
 *  订货数量
 */
@property (nonatomic, copy) NSString *ordernum;
/**
 *  订单状态,0-新订单，1待买家确认取消，2待卖家确认取消，3待买家确认变更，4待买家确认预定，5生产中，6待出货，7待收货，8交易成功，9买家取消订单，10卖家取消订单
 */
@property (nonatomic, copy) NSString *orderstatus;
/**
 *  订单阶段，0-待确认，1-生产中，2-待出货，3-已完结
 */
@property (nonatomic, copy) NSString *orderstage;
/**
 *  数量
 */
@property (nonatomic, copy) NSString *pieces;

/**
 *  产品名字
 */
@property (nonatomic, copy) NSString *productname;

/**
 *  产品id
 */
@property (nonatomic, copy) NSString *productid;

/**
 *  入库产品id
 */
@property (nonatomic, copy) NSString *inproductid;

/**
 *  单价
 */
@property (nonatomic, copy) NSString *sellingprice;

/**
 *  单位
 */
@property (nonatomic, copy) NSString *unit;
/**
 *  用户id
 */
@property (nonatomic, copy) NSString *userid;

/**
 *  是否装箱
 */
@property (nonatomic, assign) BOOL ispack;

//销售订单，库存是否充足
@property (nonatomic, assign) BOOL issaleproenough;


@end


